#pragma once

#include <stdexcept>
#include "util/fs.h"


namespace os
{

class EnvironmentForHomeDirNotFound : public std::runtime_error
{
public:
    EnvironmentForHomeDirNotFound(const char *msg): std::runtime_error(msg) {}
    virtual ~EnvironmentForHomeDirNotFound() {}
};

const fs::path homeDir();

} // namespace os
